package com.yhd.entity.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("微信支付加密报文vo")
public class EncryptMessageVo implements Serializable {
    private static final long serialVersionUID = -601788342248020773L;

    @ApiModelProperty("加密算法类型 目前只支持AEAD_AES_256_GCM")
    private String algorithm;

    @ApiModelProperty("数据密文")
    private String ciphertext;

    @ApiModelProperty("附加数据")
    private String associated_data;

    @ApiModelProperty("原始回调类型，为transaction")
    private String original_type;

    @ApiModelProperty("随机串")
    private String nonce;
}
